package com.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

/**
 * @Package: com.config
 * @ClassName: SpringConfig
 * @Author: 小政同学    QQ:xiaozheng666888@qq.com
 * @CreateTime: 2020/10/21 17:02
 * @What_is_this_file_for: Spring注解配置的主类
 * @Description: 描述
 */
@Configuration
@ComponentScan("com.xiaozheng")//要扫描的包
@Import(value = {
    JdbcConfig.class,transactionConfig.class
})//指定子配置类
@PropertySource("jdbcConfig.properties")
public class SpringConfig {
}
